package com.ryder.petmatediarybackend.module.shop.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ryder.petmatediarybackend.module.shop.dto.CreateQualificationDTO;
import com.ryder.petmatediarybackend.module.shop.entity.ShopQualification;
import com.ryder.petmatediarybackend.module.shop.vo.QualificationVO;

import java.util.List;

/**
 * 描述: 店铺资质表（含疫苗资质）(ShopQualification)表服务接口
 * 
 * @author Ryder
 * @version 1.0
 * @since 1.0
 * 更新日期: 2025-10-31
 */
public interface ShopQualificationService extends IService<ShopQualification> {

    /**
     * 创建店铺资质
     */
    QualificationVO createQualification(Long userId, CreateQualificationDTO dto);

    /**
     * 获取我的店铺资质列表
     */
    List<QualificationVO> getMyQualifications(Long userId);

    /**
     * 删除资质
     */
    void deleteQualification(Long userId, Long qualificationId);

    /**
     * 申请疫苗资质（需要动物诊疗许可证审核通过）
     */
    void applyVaccinePermission(Long userId);
}
